API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsAstraeus
Scripts
Lua
nkGraphicsWrap
Graph
SubEntityWrapper.h
1
// SubEntityWrapper.h
3
//
5
6
namespace
nkAstraeus::lua::nkGraphicsWrap
7
{
11
class
DLL_ASTRAEUS_EXPORT
SubEntityWrapper
final
12
{
13
public :
14
15
// Environment update
21
static
void
updateEnvironment
(
nkScripts::Environment
* env) ;
22
23
// Callbacks
34
static
nkScripts::OutputValue
setMesh
(
const
nkScripts::DataStack
& stack) ;
45
static
nkScripts::OutputValue
getBounds
(
const
nkScripts::DataStack
& stack) ;
46
} ;
47
}
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition:
Environment.h:14
nkAstraeus::lua::nkGraphicsWrap
Encompasses the wrapping of nkGraphics for Lua.
Definition:
BoundingBoxWrapper.h:7
nkAstraeus::lua::nkGraphicsWrap::SubEntityWrapper
Wraps a nkGraphics::SubEntity and offers functions for use in scripting.
Definition:
SubEntityWrapper.h:12
nkScripts::DataStack
std::vector< FunctionParameter > DataStack
A data stack, mainly used for parameters.
Definition:
FunctionDefines.h:8
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition:
FunctionParameter.h:25
nkAstraeus::lua::nkGraphicsWrap::SubEntityWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkAstraeus::lua::nkGraphicsWrap::SubEntityWrapper::setMesh
static nkScripts::OutputValue setMesh(const nkScripts::DataStack &stack)
nkAstraeus::lua::nkGraphicsWrap::SubEntityWrapper::getBounds
static nkScripts::OutputValue getBounds(const nkScripts::DataStack &stack)
Generated by
Doxygen
1.8.18